package com.smart.smartdata;


import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.res.Configuration;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.widget.Button;
import android.widget.EditText;

import butterknife.Bind;
import butterknife.ButterKnife;

public class MainActivity extends AppCompatActivity {

    @Bind(R.id.et_account)
    EditText etAccount;
    @Bind(R.id.et_psw)
    EditText etPassword;

    @Bind(R.id.bt_login)
    Button btLogin;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        StatusBarUtil.setRootViewFitsSystemWindows(this, false);
        StatusBarUtil.setTranslucentStatus(this);//透明状态栏

        ButterKnife.bind(this);

        btLogin.setOnClickListener(v->{
            Intent intent = new Intent();
            intent.setClass(this,MessageListActivity.class);

            startActivity(intent);
        });


    }



}
